package cn.shengchao.base.event.userinfo;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @program: examstarapi
 * @description: 用户信息采集事件
 * @author: Xiong weiqiang
 * @create: 2025-04-14 14:35
 */
public class UserInfoSingleCollectEvent extends ApplicationEvent {
    @Getter
    private UserInfoCollectType type;
    @Getter
    private Long userId;
    public UserInfoSingleCollectEvent(Object source,Long userId, UserInfoCollectType type) {
        super(source);
        this.userId = userId;
        this.type = type;
    }
}